nhooyr.io/websocket.Conn.close (method)
15 uses
nhooyr.io/websocket (current package)
close.go#L116: c.close(nil)
close.go#L173: defer c.close(nil)
conn.go#L131: c.close(errors.New("connection garbage collected"))
conn.go#L149: func (c *Conn) close(err error) {
conn.go#L197: c.close(fmt.Errorf("write timed out: %w", writeCtx.Err()))
conn.go#L247: c.close(err)
conn.go#L285: m.c.close(err)
read.go#L225: c.close(err)
read.go#L255: c.close(err)
read.go#L325: c.close(err)
read.go#L340: c.close(fmt.Errorf("failed to get reader: %w", err))
read.go#L415: mr.c.close(err)
write.go#L162: mw.c.close(err)
write.go#L286: c.close(err)
write.go#L397: c.close(nil)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |